﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mediatheque
{
    class Carte : Contenu
    {
        private string _pays;
        private string _region;

        public Carte()
            : base()
        {
            _champs = new List<string>();
            this.setDefaultChamps();
        }

        public string Pays
        {
            get { return _pays; }
            set { _pays = value; }
        }

        public string Region
        {
            get { return _region; }
            set { _region = value; }
        }

        private new void setDefaultChamps()
        {
            base._champs.Add("reference");
            base._champs.Add("pays");
            base._champs.Add("region");
        }

        public new string toString()
        {
            return base.toString() + "\n" + Pays + "\n" + Region;
        }

    }
}
